package com.dream.im.common.domain.exception;

/**
 * @author lijing
 * @version 1.0
 * @title IMException
 * @description 自定义异常
 * @date 2024/5/22 21:59
 */
public class IMException extends RuntimeException{

    private Integer code;

    public IMException(String message) {
        super(message);
    }

    public IMException(Integer code, String messgae){
        super(messgae);
        this.code = code;
    }


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

}
